home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 8
/
FM Towns Free Software Collection 8.iso
/
t_os
/
wink24h
/
src
/
rsb.h
< prev
next >
Wrap
Text File
|
1994-06-01
|
827b
|
23 lines
int RSB_rdpara(int port,char *para);
/**************************************
int RSB_open(int port);
int RSB_close(int port);
int RSB_setpara(int port,char *para);
int RSB_read(int port, int *len);
int RSB_receive(int port,int *ch,unsigned *st);
int RSB_send(int port,int ch,unsigned *st);
int RSB_dtr(int port,int sw);
typedef struct _RSB_PARA {
unsigned char mode; /+ 通信モード +/
unsigned char baud; /+ ボーレート +/
char *rbuf; /+ 受信バッファアドレス +/
unsigned short stime; /+ 送信タイムアウト +/
unsigned short rtime; /+ 受信タイムアウト +/
int rinfbuf; /+ 受信通知アドレス +/
unsigned char extmode; /+ 拡張モード +/
unsigned char xon; /+ XONコード +/
unsigned char xoff; /+ XOFFコード +/
} RSB_PARA;
***************************************/